package _17_函数式编程.Lambda._5_定义接口对选择建模;

import _17_函数式编程.Lambda.Apple;

public class AppleWeightFormatter implements AppleFormatter{

    @Override
    public String printApple(Apple apple) {
        return "苹果的重量：" + apple.getWeight() + "g";
    }

}
